package opp.Demo05;
// 父类

public class Person {
    public void say(){
        System.out.println("Hello World");
    }

    /**
     * public
     * protected
     * default  默认的
     * private
     */
    private int money = 100_000_000;
    public int getMonney(){
        return money;
    }
    public void setMoney(int money){
        this.money = money;
    }
}
